package com.hk.modules.circuit.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.hk.modules.node.pojo.NodePojo;
import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.util.Date;
import java.io.Serializable;
import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author zy
 * @since 2024-04-17
 */
@Data
@ToString
@Accessors(chain = true)
@TableName("pow_circuit")
public class CircuitPojo implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    private String name;

    private String note;

    private String parentId;

    private Date createTime;

    private Date updateTime;

    @TableField(exist = false)
    private List<NodePojo> children;

    @TableField(exist = false)
    private List<ScreenVo> screenList;

}
